<?php

return [
    'app_path'            =>  'yudianv2/web/', //项目路径
    'adminEmail'          => 'admin@yudian.com',
    'api_auth_key'        => 'yudianedutest',  // 接口授权KEY
    'oa_auth_key'         => 'yudianeduoatest',  // oa授权KEY
    'op_auth_key'           => 'yudianeduoptest', //op授权KEY
    'page_num'            =>  '15', //默认分页每页显示数据数
    'oa_page_num'         =>  '20', //默认OA分页每页显示数据数

    /* Jpush配置 */
    'Jpush_app_key'       => '4ecb705021e66844c569246c',
    'Jpush_master_secret' => '070d6695ba289b51cbf629d7',
    
    /*全局推送开关*/
    'push_switch' => array(
                            1  => true,
                            2  => true,
                            3  => true,
                            4  => true,
                            5  => true,
                            6  => true,
                            7  => true,
                            8  => true,
                            9  => true,
                            10 => true,
                            11 => true,
                        ),

    /* 推送模板 */
    'push_template' => array(
        1 => "There are other users to bind your child {0}, requesting a review",
        2 => "Your child {0} has been successfully bound",
        3 => "Your request is refused to bind the child {0}",
        4 => "Your child {0} has a new homework",
        5 => "Your child {0} examination results released",
        6 => "You have received a new leave",
        7 => "The teacher agreed to leave you",
        8 => "The teacher didn't agree with your leave, if you have any questions please contact the master teacher",
        9 => "Your child {0} in and out school",
        10 => "You receive a system message",
        11 => "You receive a school message",
    ),


    /* 系统文件上传路径设置 */
    'upload_sys_path'      => 'uploads/sys/',

    /* 文件上传路径设置-用户头像 */
    'upload_tp_path'      => 'uploads/tp/',

    /* 文件上传路径设置-广告图片 */
    'upload_ad_path'      => 'uploads/ad/',
    
    /* 文件上传路径设置-作业文件 */
    'upload_work_path'      => 'uploads/work/',

    /* 文件上传路径设置-圈子图标、banner图片 */
    'upload_circle_path'      => 'uploads/circle/',

    /* 文件上传路径设置-圈子主题图片 */
    'upload_postpic_path'      => 'uploads/postpic/',
    /* 文件上传路径设置-文章图片 */
    'upload_ar_path'      => 'uploads/ar/',
    /* 文件上传路径设置-文章封面图片 */
    'upload_cover_path'      => 'uploads/cover/',

];